#include <BustaEngine.h>
Public Member Functions | |
BustaEngine () | |
Constructor. | |
~BustaEngine () | |
Destructor. | |
ScreenState | getState () |
Gets the current/next screen state. | |
void | setState (ScreenState s) |
Sets current/next screen state. | |
void | mainMenu () |
Main Menu. | |
void | optionsMenu () |
Options Menu. | |
void | highScores () |
High Scores Screen. | |
void | characterSelect () |
Character Select Screen. | |
void | connectScreen () |
Connection Screen. | |
void | keyBindingMenu () |
Key Binding Menu. | |
void | soundsMenu () |
Difficulty Screen. | |
void | difficultyMenu () |
Difficulty Screen. | |
void | playGame () |
SP Game. | |
void | displayRankings () |
Ranking Screen. | |
char * | netInit (char *ip) |
Initializes network connection. |
Busta'Sandwich Engine for single player and networked multiplayer games.
|
Constructor. Initializes variables |
|
Destructor.
|
|
Character Select Screen. Displays the character select screen, allowing user(s) to choose character Currently a stub function, sets to SP_GAME! |
|
Connection Screen. Displays the connection screen and handles the multiplayer connection Currently a stub function, sets to CHAR_SELECT! |
|
Difficulty Screen. Sub-menu under options, allows user to change the difficulty of the game Currently a stub function that sends back to Options menu |
|
Ranking Screen. Displays the ranking of the players at the end of a multiplayer game Currently a stub function, sets state to MAIN_MENU! |
|
Gets the current/next screen state. Gets the engine (screen) state
|
|
High Scores Screen. Displays the high scores, returns when moving to main menu |
|
Key Binding Menu. Sub-menu under options, allows user to change the key bindings of the game Currently a stub function that sends back to Options menu |
|
Main Menu. Displays main menu, returns when moving to new menu |
|
Initializes network connection. Initializes the network connection, returns error messages
|
|
Options Menu. Displays the options menu, returns when moving to new menu Currently a stub function, sets back to main menu! |
|
SP Game. Displays and runs the game loop (SP or MP), returns when game over for single player, when multiplayer is over, or when explicitly exit |
|
Sets current/next screen state. sets the engine (screen) state |
|
Difficulty Screen. Sub-menu under options, allows user to change the sound options Currently a stub function that sends back to Options menu |